home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / modelers / geomview / source.lha / Geomview / doc / Makefile < prev    next >
Makefile  |  1993-12-06  |  2KB  |  68 lines

  1. GEOM = ..
  2. include ${GEOM}/makefiles/Makedefs.global
  3. include Makedefs
  4. include ${GEOM}/makefiles/Makerules.src
  5.  
  6. update:    warning oogl.5 OOGL.m.doc INSTALL.next INSTALL.sgi INSTALL.src
  7.  
  8. warning:
  9.     @echo '' ; \
  10.      echo 'Warning: "make update" uses the existing Info files' ; \
  11.      echo '  to update the documents.  To generate new Info files' ; \
  12.      echo '  from geomview.tex, type "make info".' ; \
  13.      echo ''
  14.  
  15. oogl.5:    _always
  16.     manext 'OOGL File Formats' 'Customization' | \
  17.       manify OOGL 'File formats for OOGL geometric objects' > oogl.5
  18.  
  19. OOGL.m.doc:    _always
  20.     ( ${MAKE} header_message ; \
  21.       manext 'Mathematica' 'Installation' ; \
  22.       ) > OOGL.m.doc
  23.  
  24. INSTALL.next:    _always
  25.     ( ${MAKE} header_message ; \
  26.       manext 'NeXT Binary Installation' 'Source Code Installation' ;\
  27.       manext 'SGI Binary Detail' 'NeXT Binary Installation'; \
  28.       ) > INSTALL.next
  29.  
  30. INSTALL.sgi:    _always
  31.     ( ${MAKE} header_message ; \
  32.       manext 'SGI Binary Installation' 'NeXT Binary Installation';\
  33.       ) > INSTALL.sgi
  34.  
  35. INSTALL.src:    _always
  36.     ( ${MAKE} header_message ; \
  37.       manext 'Source Code Installation' 'Obtaining' ;\
  38.       ) > INSTALL.src
  39.  
  40. header_message:
  41.     @echo '' ;
  42.     @echo 'NOTE: This file is autogenerated from the Geomview manual.';
  43.     @echo '  For references to things not in this file, see the manual.';
  44.     @echo '  The manual is distributed in the "doc" subdirectory.';
  45.     @echo '';
  46.  
  47. info:    _always
  48.     nodeupdater geomview.tex geomview.tex.new
  49.     /bin/mv geomview.tex.new geomview.tex
  50.     emacs -batch geomview.tex -l makeinfo.el -kill
  51.  
  52. _always:
  53.  
  54. # temporary target for copying into the distribution directories:
  55.  
  56. SGIDIR=/u/work/mbp/geomview-sgi
  57. NEXTDIR=/u/work/mbp/geomview-next
  58.  
  59. BINDISTFILES=geomview geomview-* geomview.ps OOGL.m.doc example[123].c
  60.  
  61. dist:
  62.     /bin/cp ${BINDISTFILES} ${SGIDIR}/Geomview/doc
  63.     /bin/cp ${BINDISTFILES} ${NEXTDIR}/Geomview.app/doc
  64.     /bin/cp INSTALL.src ${GEOM}
  65.     /bin/cp INSTALL.sgi ${SGIDIR}/Geomview/INSTALL
  66.     /bin/cp INSTALL.next ${NEXTDIR}/INSTALL
  67.     /bin/cp INSTALL.next ${NEXTDIR}/Geomview.app/INSTALL
  68.